package com.cloud.edu.controller;

import com.cloud.common.result.R;
import com.cloud.edu.client.CmsClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 王霄
 * @date 2022/2/23 11:10
 */
@RestController
@RequestMapping("/edu")
public class EduController {

    @Resource
    private CmsClient cmsClient;

    @GetMapping("/test")
    public R<?> test() {
        return cmsClient.test();
    }
}
